package com.xyz.mockapi.common.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;

/**
 * 电驱主线订单-模拟大MES下发订单数据-电驱打刻配置数据
 */
@Data
@TableName("t_bd_sub_product_type")
@Schema(description = "电驱主线订单-大MES下发订单数据-电驱打刻配置数据")
public class BdSubProductTypeEntity implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ExcelProperty(value = "主键ID（id）", index = 0) // 对应Excel第1列
    @Schema(description = "主键ID")
    private Long id;

    @ExcelProperty(value = "产品平台（fProductPlatform）", index = 1) // 对应Excel第2列
    @Schema(description = "产品平台")
    private String fProductPlatform;

    @ExcelProperty(value = "分产品状态（fProductType）", index = 2) // 对应Excel第3列
    @Schema(description = "分产品状态")
    private String fProductType;

    @ExcelProperty(value = "供应商代码（fSupplierCode）", index = 3) // 对应Excel第4列
    @Schema(description = "供应商代码")
    private String fSupplierCode;

    @ExcelProperty(value = "企业代码（fCompanyCode）", index = 4) // 对应Excel第5列
    @Schema(description = "企业代码")
    private String fCompanyCode;

    @ExcelProperty(value = "额定电压（fRatedVoltage）", index = 5) // 对应Excel第6列
    @Schema(description = "额定电压")
    private String fRatedVoltage;

    @ExcelProperty(value = "峰值功率（fPeakPower）", index = 6) // 对应Excel第7列
    @Schema(description = "峰值功率")
    private String fPeakPower;

    @ExcelProperty(value = "最高转速（fMaxSpeed）", index = 7) // 对应Excel第8列
    @Schema(description = "最高转速")
    private String fMaxSpeed;
}